package cn.wildfirechat.app.jpa;


import lombok.Data;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;

import javax.persistence.Table;
import java.time.LocalDateTime;
@RepositoryRestResource()
public interface LuckyNumberRepository extends CrudRepository<LuckyNumber, Long> {

    int countByUserId(String userId);
}
